#include <iostream>
#include <iomanip>
using namespace std;

int main()
{
    cout << "n e" << endl;
    cout << "- -----------" << endl;
    cout << "0 1" << endl;
    int x = 1;
    double total = 1;
    for( int i = 1; i <= 9; i++ )
    {
        x *= i;
        total += (double)1.0/(double)x;
        if( i > 2 )
        {
            cout << i << ' ' << fixed << setprecision(9) << total << endl;
            continue;
        }
        cout << i << ' ' << total << endl;
    }
    return 0;
}

